<template>
  <div class="map-wrapper">
    <div v-for="(row, y) in map" class="flex">
      <div v-for="(col, x) in row">
        <MapBlock :col="col" :x="x" :y="y"></MapBlock>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
import { useMapEditStore } from '@/stores/mapEdit';
import MapBlock from './MapBlock.vue';

const { map } = useMapEditStore();
</script>
